package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该人当天该类型最后一条报警数据
 */
public class CarPersonTypeNameLastOneKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String CAR_PERSON_TYPE_NAME_LAST_ONE_PREFIX = "CAR_PERSON_TYPE_NAME_LAST_ONE_TODAY_";

    private CarPersonTypeNameLastOneKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static CarPersonTypeNameLastOneKeyToday token = new CarPersonTypeNameLastOneKeyToday(TOKEN_EXPIRE, CAR_PERSON_TYPE_NAME_LAST_ONE_PREFIX);
}
